package com.megaspacevr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 预约表-预约记录
 * </p>
 *
 * @author yezi
 * @since 2025-06-17
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@Schema(name = "Bookings", description = "预约表-预约记录")
public class Bookings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "预约编号")
    private String bookingNumber;

    @Schema(description = "预约设备标识")
    private String userToken;

    @Schema(description = "个人信息ID")
    private Long personalInfoId;

    @Schema(description = "时间段ID")
    private Long timeSlotId;

    @Schema(description = "预约日期")
    private LocalDate bookingDate;

    @Schema(description = "预约开始时间")
    private LocalTime bookingTimeStart;

    @Schema(description = "预约结束时间")
    private LocalTime bookingTimeEnd;

    @Schema(description = "大场次（上午/下午/晚上）")
    private String periodName;

    @Schema(description = "联系人姓名")
    private String contactName;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "预约状态")
    private String status;

    @Schema(description = "完成时间")
    private LocalDateTime completedAt;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "特殊需求")
    private String specialRequirements;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
